Bitmap for UWP
Read(Byte[],Int32,Int32) メソッド

C1.UWP.DX アセンブリ > C1.Util.DX 名前空間 > DataStream クラス > Read メソッド : Read(Byte[],Int32,Int32) メソッド
An array of values to be read from the stream.
The zero-based byte offset in buffer at which to begin storing the data read from the current stream.
The maximum number of bytes to be read from the current stream.
Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
シンタックス
'宣言
 
Public Overloads Overrides Function Read( _
   ByVal buffer() As System.Byte, _
   ByVal offset As System.Integer, _
   ByVal count As System.Integer _
) As System.Integer
public override System.int Read( 
   System.byte[] buffer,
   System.int offset,
   System.int count
)

パラメータ

buffer
An array of values to be read from the stream.
offset
The zero-based byte offset in buffer at which to begin storing the data read from the current stream.
count
The maximum number of bytes to be read from the current stream.

戻り値の型

The number of bytes read from the stream.
例外
例外解説
This stream does not support reading.
解説
In order to provide faster read/write, this operation doesn't check stream bound. A client must carefully not read/write above the size of this datastream.
参照

DataStream クラス
DataStream メンバ
オーバーロード一覧